package com.lkx.sms.data;


/*sms主要结构：
_id => 短消息序号 如100
thread_id => 对话的序号 如100
address => 发件人地址，手机号.如+8613811810000
person => 发件人，返回一个数字就是联系人列表里的序号，陌生人为null
date => 日期  long型。如1256539465022
protocol => 协议 0 SMS_RPOTO, 1 MMS_PROTO
read => 是否阅读 0未读， 1已读
status => 状态 -1接收，0 complete, 64 pending, 128 failed
type => 类型 1是接收到的，2是已发出
body => 短消息内容
service_center => 短信服务中心号码编号。如+8613800755500*/
public class SmsContent {

	private long date;
	private int protocol;
	private int read;
	private int status;
	private int type;
	private String body;
	
	public SmsContent() {
	}
	
	
	public SmsContent(long date, int protocol, int read, int status, int type,
			String body) {
		super();
		this.date = date;
		this.protocol = protocol;
		this.read = read;
		this.status = status;
		this.type = type;
		this.body = body;
	}


	public long getDate() {
		return date;
	}
	public void setDate(long date) {
		this.date = date;
	}
	public int getProtocol() {
		return protocol;
	}
	public void setProtocol(int protocol) {
		this.protocol = protocol;
	}
	public int getRead() {
		return read;
	}
	public void setRead(int read) {
		this.read = read;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getBody() {
		return body;
	}
	public void setBody(String body) {
		this.body = body;
	}
	
}
